/**
 * @description 左侧布局
 */
const leftLayout = r => {
  require.ensure(
    [],
    () => r(require('../../views/declarationMgt/index.vue').default),
    'itemMgt'
  )
}
export default [
  {
    path: '/declarationMgt', // 申报录入
    name: 'declarationEntry',
    component: leftLayout,
    redirect: '/declarationMgt/declarationEntry',
    meta: {
      title: '申报录入'
    },
    children: [
      {
        path: '/declarationMgt/declarationEntry', // 申报录入
        name: 'declarationEntry',
        component: r => {
          require.ensure([], () => r(require('@/views/declarationMgt/declarationEntry/declarationEntry.vue').default), 'declarationMgt')
        },
        meta: {
          title: '申报录入'
        }
      }, {
        path: '/declarationMgt/declarationAudit', // 申报审核
        name: 'declarationAudit',
        component: r => {
          require.ensure([], () => r(require('@/views/declarationMgt/declarationAudit/declarationAudit.vue').default), 'declarationMgt')
        },
        meta: {
          title: '申报审核'
        }
      }
    ]
  }
]
